Tables

<TABLE>
<TR>
<TD></TD>

</TR>
</TABLE>




How do you....?

Glad you asked!


Honk if you're......


All that we did to put the text to the right in the cell is by using this:
<TD ALIGN="RIGHT"> you can use "left" "right" or "center". The default for the browser is "left".



Honk if you're........


We did two things to do this:
<TD ALIGN="CENTER" WIDTH="100" HEIGHT="100">
By using the TD ALIGN="CENTER" we centered everything in the cell. By using the HEIGHT="100" we gave it plenty of space.



Honk if
you like M&M's


For this we used:
<TD ROWSPAN="2">Honk</TD>
<TD COLSPAN="2">if</TD>
</TR>
<TD>you like</TD>
<TD>M&M's</TD>

The ROWSPAN simply spans the rows
The COLSPAN simply spans the columns



If you want to put your table in the CENTER of the page, you can do one of two things.
  1. <TABLE BORDER=3 ALIGN="CENTER">
  2. or put your whole table between <CENTER></CENTER> On these pages I've used both.



Tutorials Lesson 1 Lesson 2 Lesson 3 Lesson 5